import { GTextFormat } from "../../../../common/GTextFormat";
type int = number;
//class AcupointRecommendPanel
    
    export  class AcupointRecommendPanel /* flash.display.Sprite */
    {
        constructor()
        {
            
            this.init();
            return;
        }

        /* internal  */init(): void
        {
            this._tf = new GTextFormat("", 12, 11661311, null, null, null, null, null, null, null, null, null, 2);
            this._text = this.createTextfield(10, 5, 265, 180, "", this._tf);
            this._text.defaultTextFormat = this._tf;
            return;
        }

        /* internal  */createTextfield(arg1: int, arg2: int, arg3: int, arg4: int, arg5: string, arg6: Object /* flash.text.TextFormat */): Object /* flash.text.TextField */
        {
            var loc1=null;
            (loc1 = new Object /* flash.text.TextField */()).selectable = false;
            loc1.mouseEnabled = false;
            loc1.multiline = true;
            loc1.wordWrap = true;
            loc1.x = arg1;
            loc1.y = arg2;
            loc1.width = arg3;
            loc1.height = arg4;
            loc1.text = arg5;
            loc1.setTextFormat(arg6);
            addChild(loc1);
            return loc1;
        }

        public setText(arg1: string): void
        {
            this._text.htmlText = arg1;
            return;
        }

        /* internal */ /* var */_text: Object /* flash.text.TextField */;

        /* internal */ /* var */_tf: Object /* flash.text.TextFormat */;
    }
